package cn.com.wdjedu.androidapp.wjeduandroid.ui.courseui;

import android.content.Context;

import com.zhy.adapter.abslistview.CommonAdapter;
import com.zhy.adapter.abslistview.ViewHolder;

import java.util.List;

import cn.com.wdjedu.androidapp.wjeduandroid.R;

/**
 * Created by CCY on 2017/2/13.
 */

public class CourseUiAdapterItem extends CommonAdapter<CourseList.Course> {
    public CourseUiAdapterItem(Context context, int layoutId, List<CourseList.Course> datas) {
        super(context, layoutId, datas);
    }

    @Override
    protected void convert(ViewHolder viewHolder, CourseList.Course item, int position) {
        viewHolder.setText(R.id.tv_name,item.getName());
    }
}
